
import { pget, ppostJson } from '@/utils/req';
import { modalApi } from '@/utils/modalReq';
// 获取权限配置
export function getHibernate(key: any) {
  return pget(`${modalApi.system}/permission/config/${key}`);
}

// 修改权限配置
export function editHibernate(data: any) {
  return ppostJson(`${modalApi.system}/permission/config/update`, data);
}
